﻿//  --------------------------------
//  Copyright (c) AW Systems, Inc. All rights reserved.
//  This source code is made available under the terms of the Microsoft Public License (Ms-PL)
//  http://www.codeplex.com/SLAM/license
//  ---------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace Slam.Events
{
    /// <summary>
    /// IItemCreator defines the action performed by SLAM when an item configured to be managed
    /// by SLAM is added in SharePoint.
    /// </summary>
    public interface IItemCreator
    {
        /// <summary>
        /// Creates the given list item in SLAM.
        /// </summary>
        /// <param name="listItem"></param>
        /// <returns></returns>
        bool Create(SPListItem listItem);
    }
}
